<!--  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>
choose Exercise
</title>
</head>
<body>
<script type="text/javascript">
	List<String> userAnswers = new List();
	List<Question> q = new List();
	function Add(selectedchoice,quest) {
		
			userAnswers.add(selectedchoice);
			q.add(quest); 
	}  
	</script>

#{list items:questions, as:'question'}
<form name="input" action="@{Add(choice.Selected,question)}" method= "POST">
<ul><li> <h3>${question.theQuest}</h3> </li></ul>
<INPUT TYPE = "RADIO" NAME = "choice" VALUE = "${question.choices[0]}"><B>${question.choices.get(1)}</B><BR>
 <INPUT TYPE = "RADIO" NAME = "choice" VALUE = "${question.choices[1]}" ><B>${question.choices.get(2)}</B><BR>
 <INPUT TYPE = "RADIO" NAME = "choice" VALUE = "${question.choices[2]}" ><B>${question.choices.get(3)}</B><BR>
 <INPUT TYPE = "RADIO" NAME = "choice" VALUE = "${question.choices[3]}" ><B>${question.choices.get(4)}</B><BR>
 <INPUT TYPE = "RADIO" NAME = "choice" VALUE = "${question.choices[4]}" ><B>${question.choices.get(5)}</B><BR>
 </form>
 #{list}
<button onclick="@{Exercise.takeExercise(userAnswers,q)}">submit exercise</button>

</body>
</html>

-->